% PAGAMIGO(1)
% Alyssa Rosenzweig
% July 2018

# Name

pagamigo - free software script to pay with PayPal

# Synopsis

pagamigo [options] [--username username] [--password password]

# Overview

Use an online shop and opt to pay with Paypal. You will be redirected to a URL
like:

	https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-CAFEBABE123456789

Copy that URL to your clipboard. Then, from the command line run:

	$ pagamigo redirect

Follow the directions on-screen prompting you to enter your PayPal credentials
and to paste this URL.

---

By default, this connects to production. For the sandbox, use:

	$ pagamigo --base https://www.sandbox.paypal.com

----

For peer-to-peer money transfer ("Send money"), instead use:

	$ pagamigo send-money

---

Pagamigo, while interactive by default, is entirely configurable by arguments as well. For instance:

	$ pagamigo send-money --to sunset@chs.eq --amount 10.00 --username scitwi@chs.earth --password hunter2 --debug

See the usage for details.

	$ pagamigo --help

# Dependencies

Python (version 3) must be installed.

The following Python modules need to be installed: requests, lxml, cssselect.

The following external programs need to be installed: feh.

On Debian-based systems, these can be installed as:

	# apt install python3-requests python3-lxml python3-cssselect feh
